/*
 * StaticReference.java
 *
 * Created on August 5, 2006, 2:21 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package com.smallx.xproc;

import java.net.URI;
import org.infoset.xml.Document;

/**
 *
 * @author alex
 */
public class StaticReference extends Reference {

   URI location;
   
   /** Creates a new instance of StaticReference */
   public StaticReference(URI location) {
      this.location = location;
   }
   
   public URI getLocation() {
      return location;
   }
   
   public boolean equals(Object obj) {
      if (obj instanceof StaticReference) {
         return ((StaticReference)obj).getLocation().equals(location);
      } else {
         return false;
      }
   }
   
}
